package com.fulihui.systemcore.dal.mapper;

import com.fulihui.systemcore.dal.dataobj.ApiTemplate;
import com.fulihui.systemcore.dal.dataobj.ApiTemplateExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ApiTemplateMapper {
    long countByExample(ApiTemplateExample example);

    int deleteByExample(ApiTemplateExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ApiTemplate record);

    int insertSelective(ApiTemplate record);

    List<ApiTemplate> selectByExample(ApiTemplateExample example);

    ApiTemplate selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ApiTemplate record,
                                 @Param("example") ApiTemplateExample example);

    int updateByExample(@Param("record") ApiTemplate record,
                        @Param("example") ApiTemplateExample example);

    int updateByPrimaryKeySelective(ApiTemplate record);

    int updateByPrimaryKey(ApiTemplate record);
}